package com.tianji.learning.constants;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
//@NoArgsConstructor
public class RedisConstants {
    /**
     * redis中记录学员每天签到记录的key +userId+LocalTime.now()
     */
    public static final String SIGN_RECORD_KEY_PREFIX="sign.uid";
    /**
     * 2.redis中记录每日学习完成小节数的积分记录 key 10/50
     */
    public static final String LEARN_POINTS_KEY="learn.points";
    /**
     * 3.redis中记录每日回答问题的积分记录 key 5/20
     */
    public static final String WRITE_POINTS_KEY="write.points";
    /**
     * 学员的积分记录key 里面的hashkey key+userId 与2,3 同用
     */
    public static final String POINTS_RECORD_KEY_PREFIX="points.record";
    /**
     * 天梯榜排名key points.board+202403
     */
    public static final String BOARD_KEY_PREFIX="points.board";

}
